Several QuickDraw GX objects exist in support of shape objects. They are either directly or indirectly referenced by the shape object whose behavior they affect. Figure 1 shows the three objects that are directly referenced by a shape object.
Figure 1 A shape object and its referenced objects
A style object describes certain characteristics affecting how a shape is drawn. For paths, this includes information such as the thickness of the pen, the joins between line segments, and any dash or pattern to apply to the shape.
An ink object describes a shape's color and its transfer mode--how that color is applied when the shape is drawn. Inks support many different kinds of color specification and many different transfer modes.
Some objects have an attributes property, which is a group of flags that you use to modify the behavior of the object. In shapes, for example, these flags allow you to specify--among other things--how QuickDraw GX stores the shape object and how editing operations affect the shape object. In view ports, as another example, these flags allow you to specify behavior such as whether or not to perform color matching when drawing.